﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AMRService.Models.ResponseModels.ModelHelper.Common
{
    /// <summary>
    /// 返回的数据类型
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Root<T>
    {
        /// <summary>
        /// 描述信息
        /// </summary>
        public string errMsg { get; set; }
        /// <summary>
        /// 描述代码
        /// </summary>
        public string errCode { get; set; }
        /// <summary>
        /// 状态，是否操作成功
        /// </summary>
        public bool state { get; set; }
        /// <summary>
        /// 数据，对于获取数据而言，其类型应该是List<Data>
        /// </summary>
        public T data { get; set; }
    }
}
